package com.yiyuan.app.entity.result;

import com.guaike.core.entity.annotation.DictConvert;
import com.guaike.core.entity.annotation.NumberAutoConvert;
import com.yiyuan.app.entity.constant.BusinessDictCodeConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("挑战榜单条实体")
@Data
public class ChallengeRankVO implements Serializable {

    @ApiModelProperty("battleId")
    private Long id;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("头像")
    private String avatarurl;

    @ApiModelProperty("vip等级")
    private Integer vipGrade;

    @ApiModelProperty("排名")
    private Integer rank;

    @ApiModelProperty("房间名称")
    private String roomName;

    @ApiModelProperty("松子数值")
    @NumberAutoConvert
    private Integer pineNut;

    @ApiModelProperty("奖励松果数")
    @NumberAutoConvert
    private Integer pinecone;

    @ApiModelProperty("挑战状态（0:挑战TA，1:挑战中，2:待领取，3:已领取，4：挑战失败）")
    @DictConvert(code = BusinessDictCodeConstant.D_BATTLE_STATUS)
    private Integer status;

}
